import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from "/@/hooks/web/useI18n";

const bizRoutes: AppRouteModule[] = [
  {
    path: '/area',
    name: 'Area',
    component: LAYOUT,
    redirect: '/area/index',
    meta: {
      orderNo: 1,
      // icon: 'mdi:target',
      icon: 'mdi:monitor-eye',

      title: '监控界面',
      hideChildrenInMenu: true,
    },
    children: [
      {
        path: 'index',
        name: 'AreaPage',
        component: () => import('/@/views/biz/market/baseInfo/index.vue'),
        meta: {
          title: "监控界面",
          hideMenu: true,
        },
      },
    ],
  },
  {
    path: '/system',
    name: 'System',
    component: LAYOUT,
    redirect: '/system/modemSet',
    meta: {
      orderNo: 2000,
      icon: 'ion:settings-outline',
      title: t('routes.demo.inet.modemset'),
      hideMenu: true,
      hideChildrenInMenu: true,
    },
    children: [
      {
        path: 'modemSet',
        name: 'ModemSet',
        meta: {
          title: t('routes.demo.inet.modemset'),
          ignoreKeepAlive: false,
        },
        component: () => import('/@/views/biz/system/modemSet/index.vue'),
      },
    ],
  },

  {
    path: '/market',
    name: 'Market',
    component: LAYOUT,
    redirect: '/market/baseInfo',
    meta: {
      orderNo: 0,
      icon: 'ant-design:bank-filled',
      hideChildrenInMenu: true,
      title: t('routes.demo.inet.index'),
    },
    children: [
      {
        path: 'baseInfo',
        name: 'BaseInfo',
        component: () => import('/@/views/biz/market/baseInfo/index2.vue'),
        meta: {
          title: t('routes.demo.inet.index'),
        },
      },
    ],
  },
  {
    path: '/modemSet',
    name: 'Markets',
    component: LAYOUT,
    redirect: '/system/modemSet',
    meta: {
      orderNo: 3,
      icon: 'mdi:monitor-eye',
      title: '解调器设置',
      hideChildrenInMenu: true,
    },
    children: [
      {
        path: 'Info',
        name: 'Info',
        component: () => import('/@/views/biz/system/modemSet/index.vue'),
        meta: {
          title: '解调器设置',
        },
      },
    ],
  },


  {
    path: '/modems',
    name: 'Modems',
    component: LAYOUT,
    redirect: '/modems/base',
    meta: {
      orderNo: 2,
      icon: 'fa:search',
      hideChildrenInMenu: true,
      title: "搜索查询",
    },
    children: [
      {
        path: 'base',
        name: 'base',
        component: () => import('/@/views/biz/modems/index/index.vue'),
        meta: {
          title: "搜索查询",
        },
        //paramPath:'222',
        //redirect: '/modems/index/index',
      },
    ],
  },
  {
    path: '/satellite',
    name: 'Satellite',
    component: LAYOUT,
    redirect: '/satellite/index',
    meta: {
      orderNo: 3,
      icon: 'hugeicons:satellite',
      title: '卫星总览',
      hideChildrenInMenu: false,
    },
    children: [
      {
        path: 'index',
        name: 'Weixing',
        component: () => import('../../../views/biz/satellite/overview/index.vue'),
        meta: {
          title: "卫星总览",
        },
      },
      // {
      //   path: 'detail',
      //   name: 'Detail',
      //   component: () => import('../../../views/biz/satellite copy/detail/index.vue'),
      //   meta: {
      //     title: "详情",
      //   },
      // },
      {
        path: 'index2',
        name: 'kangjian',
        component: () => import('../../../views/biz/satellite/overview/index2.vue'),
        meta: {
          title: "频道信息",
        },
      },
    ],
  },
  {
    path: '/carrier',
    name: 'Carrier',
    component: LAYOUT,
    redirect: '/carrier/index',
    meta: {
      orderNo: 3,
      icon: 'mdi:monitor-eye',
      title: '载波侦查',
      hideChildrenInMenu: false,
    },
    children: [
      // {
      //   path: 'index',
      //   name: 'Zbzy',
      //   component: () => import('/@/views/biz/zbzy/index3.vue'),
      //   meta: {
      //     title: '载波对比',
      //   },
      // },
      // {
      //   path: 'shijiantaishi',
      //   name: 'shijiantaishi',
      //   component: () => import('/@/views/biz/zbzy/shijiantaishi.vue'),
      //   meta: {
      //     title: '载波列表',
      //   },
      // },
      {
        path: 'shijiantaishi2',
        name: 'shijiantaishi2',
        component: () => import('/@/views/biz/zbzy/shijiantaishi2.vue'),
        meta: {
          title: '载波对比',
        },
      },
      {
        path: 'shijiantaishi3',
        name: 'shijiantaishi3',
        component: () => import('/@/views/biz/zbzy/shijiantaishi3.vue'),
        meta: {
          title: '载波列表',
        },
      },
    ],
  },
  {
    path: '/situation',
    name: 'Situation',
    component: LAYOUT,
    redirect: '/situation/index',
    meta: {
      orderNo: 3,
      icon: 'carbon:text-link-analysis',
      title: '态势分析',
      hideChildrenInMenu: false,
    },
    children: [
      {
        path: 'networking',
        name: 'Networking',
        component: () => import('/@/views/biz/system/modemSet/zuwangfenxi.vue'),
        meta: {
          title: "组网分析",
        }
      },
      {
        path: 'statistical',
        name: 'Statistical',
        component: () => import('/@/views/biz/system/modemSet/tongjifenxi3.vue'),
        meta: {
          title: "统计分析3",
        },
      },
      {
        path: 'statisticals',
        name: 'Statisticals',
        component: () => import('../../../views/biz/system/modemSet/tongjifenxi2.vue'),
        meta: {
          title: "统计分析2",
        },
      },
      {
        path: 'statisticalss',
        name: 'Statisticalss',
        component: () => import('/@/views/biz/system/modemSet/tongjifenxi1.vue'),
        meta: {
          title: "统计分析1",
        },
      },
      {
        path: 'time',
        name: 'Time',
        component: () => import('/@/views/biz/system/modemSet/shijiantaishi.vue'),
        meta: {
          title: "时间态势",
        },
      },
      {
        path: 'space',
        name: 'Space',
        component: () => import('/@/views/biz/system/modemSet/kongjiantaishi.vue'),
        meta: {
          title: "空间态势",
        },
      },
    ],
  }, 
  // {
  //   path: '/crowdfunding',
  //   name: 'Crowdfunding',
  //   component: LAYOUT,
  //   redirect: '/crowdfunding/index',
  //   meta: {
  //     orderNo: 3,
  //     icon: 'hugeicons:crowdfunding',
  //     title: '众筹信息',
  //     hideChildrenInMenu: true,
  //   },
  //   children: [
  //     {
  //       path: 'index',
  //       name: 'Crowdfunding',
  //       component: () => import('/@/views/biz/log/operate/index.vue'),
  //       meta: {
  //         title: "众筹信息",
  //         hideMenu: true,
  //       },
  //     },
  //   ],
  // }, 
  {
    path: '/person',
    name: 'Person',
    component: LAYOUT,
    redirect: '/person/index',
    meta: {
      orderNo: 3,
      icon: 'uil:user',
      title: '个人中心',
      hideChildrenInMenu: true,
    },
    children: [
      {
        path: 'index',
        name: 'person',
        component: () => import('/@/views/biz/system/modemSet/geren.vue'),
        meta: {
          title: "个人中心",
          hideMenu: true,
        },
      },
    ],
  },

  // {
  //   path: '/monitor',
  //   name: 'Monitor',
  //   component: LAYOUT,
  //   redirect: '/monitor/index',
  //   meta: {
  //     orderNo: 1,
  //     icon: 'mdi:monitor-eye',
  //     title: '监控界面',
  //     hideChildrenInMenu: true,
  //   },
  //   children: [
  //     {
  //       path: 'index',
  //       name: 'Index',
  //       component: () => import('/@/views/biz/carrier/situation/index.vue'),
  //       meta: {
  //         title: '监控界面',
  //       },
  //     },
  //   ],
  // },
]
export default bizRoutes;
